
#ifndef PATH_DEF_H_FILE
#define PATH_DEF_H_FILE

#define PATH_NUM_POINTS    500
#define PATH_NUM_SPAWN_POINTS   16
#define PATH_NUM_SEGS_PER_POINT 16

typedef struct {
  int steps;
  int dest_point;
  int weight;
  int start_level;
} PATH_SEGMENT;

typedef struct {
  int x;
  int y;
  int num_segs;
  PATH_SEGMENT segs[PATH_NUM_SEGS_PER_POINT];
} PATH_POINT;

typedef struct {
  int bg_num;

  int num_spawn_points;
  int spawn_points[PATH_NUM_SPAWN_POINTS];

  int num_points;
  PATH_POINT points[PATH_NUM_POINTS];
} PATH;

extern PATH *paths[];

#endif /* PATH_DEF_H_FILE */
